# -*- coding: utf-8 -*-
# @Author: Anderson
# @Date:   2019-10-30 14:50:24
# @Last Modified by:   Anderson
# @Last Modified time: 2019-10-30 16:04:35
from datetime import datetime
from WechatBot import WechatBot


def print_msg(pid, wxid, msg):
    print(pid, wxid, msg)


bot = WechatBot()
bot.login()
bot.set_msg_handler(print_msg)
bot.initialize()
bot.send("filehelper", datetime.now())
bot.run()
